package com.fhz.day003.index;

import androidx.lifecycle.LiveData;

import com.fhz.day003.mvvm.BaseRepository;
import com.fhz.day003.mvvm.IModel;
import com.fhz.day003.utils.ApiResponse;
import com.fhz.day003.utils.GoodsApi;
import com.fhz.day003.utils.RetrofitManager;

import java.util.List;

/**
 * 时间:2022/3/22
 *
 * @author msfeng
 * 简述: TODO
 */
public class IndexRepositroy extends BaseRepository<IndexModel> {

    public IndexRepositroy(IndexModel mModel) {
        super(mModel);
    }

    public LiveData<ApiResponse<List<Banner>>> getBanner(){
        return mModel.getBanner();
    }

}

